package com.hotelsystem;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class}) //禁用数据源自动配置
@MapperScan(basePackages = "com.hotelsystem.dao") //扫描mapper接口生成实现类
@EnableTransactionManagement //开启事务的支持
@SpringBootApplication
public class  HotelManagermentSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(HotelManagermentSystemApplication.class, args);
    }
}
